.class public Lcom/ss/android/socialbase/appdownloader/e;
.super Ljava/lang/Object;
.source "AppDownloader.java"


# static fields
.field private static final m:Ljava/lang/String; = "e"

.field private static volatile n:Lcom/ss/android/socialbase/appdownloader/e;

.field private static o:Z

.field private static p:Z


# instance fields
.field private a:Les/ul0;

.field private b:Les/vl0;

.field private c:Les/zl0;

.field private d:Les/yl0;

.field private e:Les/dm0;

.field private f:Les/am0;

.field private g:Ljava/lang/String;

.field private h:Ljava/lang/String;

.field private i:Lcom/ss/android/socialbase/appdownloader/a;

.field private j:Z

.field private k:Les/xl0;

.field private l:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method private constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x1

    .line 2
    iput-boolean v0, p0, Lcom/ss/android/socialbase/appdownloader/e;->j:Z

    return-void
.end method

.method private a(Lcom/ss/android/socialbase/appdownloader/h;Ljava/lang/String;)I
    .locals 10

    .line 116
    sget-object v0, Lcom/ss/android/socialbase/appdownloader/e;->m:Ljava/lang/String;

    const-string v1, "start redirectSavePathIfPossible"

    invoke-static {v0, v1}, Les/wn0;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 117
    invoke-virtual {p1}, Lcom/ss/android/socialbase/appdownloader/h;->u()Lorg/json/JSONObject;

    move-result-object v0

    invoke-static {v0}, Les/jo0;->a(Lorg/json/JSONObject;)Les/jo0;

    move-result-object v0

    const-string v1, "anti_hijack_dir"

    .line 118
    invoke-virtual {v0, v1}, Les/jo0;->d(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v1

    const/4 v2, 0x1

    const/4 v3, 0x0

    if-eqz v1, :cond_0

    const-string v4, "ignore_task_save_path"

    .line 119
    invoke-virtual {v1, v4, v3}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v1

    if-ne v1, v2, :cond_0

    const/4 v1, 0x1

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    .line 120
    :goto_0
    invoke-virtual {p1}, Lcom/ss/android/socialbase/appdownloader/h;->y()Ljava/lang/String;

    move-result-object v4

    .line 121
    invoke-virtual {p1}, Lcom/ss/android/socialbase/appdownloader/h;->l()Ljava/lang/String;

    move-result-object v5

    .line 122
    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v6

    if-eqz v6, :cond_1

    .line 123
    invoke-virtual {p1}, Lcom/ss/android/socialbase/appdownloader/h;->I()Ljava/lang/String;

    move-result-object v5

    invoke-static {p2, v4, v5, v2}, Lcom/ss/android/socialbase/appdownloader/d;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v5

    .line 124
    :cond_1
    invoke-virtual {v5}, Ljava/lang/String;->length()I

    move-result v6

    const/16 v7, 0xff

    if-le v6, v7, :cond_2

    .line 125
    invoke-virtual {v5}, Ljava/lang/String;->length()I

    move-result v6

    sub-int/2addr v6, v7

    invoke-virtual {v5, v6}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v5

    .line 126
    :cond_2
    invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v6

    if-eqz v6, :cond_3

    move-object v4, v5

    .line 127
    :cond_3
    invoke-virtual {p1}, Lcom/ss/android/socialbase/appdownloader/h;->w()Landroid/content/Context;

    move-result-object v6

    invoke-static {v6, v4, v0}, Lcom/ss/android/socialbase/appdownloader/d;->a(Landroid/content/Context;Ljava/lang/String;Les/jo0;)Ljava/lang/String;

    move-result-object v4

    .line 128
    invoke-virtual {p1}, Lcom/ss/android/socialbase/appdownloader/h;->w()Landroid/content/Context;

    move-result-object v6

    invoke-static {v6}, Lcom/ss/android/socialbase/appdownloader/d;->a(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v6

    .line 129
    invoke-virtual {p1}, Lcom/ss/android/socialbase/appdownloader/h;->z()Ljava/lang/String;

    move-result-object v7

    invoke-static {v7}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v7

    if-nez v7, :cond_4

    invoke-virtual {p1}, Lcom/ss/android/socialbase/appdownloader/h;->z()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v7, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-nez v7, :cond_5

    invoke-virtual {p1}, Lcom/ss/android/socialbase/appdownloader/h;->z()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v7, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_4

    goto :goto_1

    :cond_4
    const/4 v2, 0x0

    .line 130
    :cond_5
    :goto_1
    sget-object v7, Lcom/ss/android/socialbase/appdownloader/e;->m:Ljava/lang/String;

    new-instance v8, Ljava/lang/StringBuilder;

    invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V

    const-string v9, "ignoreTaskSavePath = "

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v8, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    const-string v9, "\tisSavePathDefaultOrRedirected = "

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v8, v2}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    const-string v9, "\nbuilder.getSavePath = "

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 131
    invoke-virtual {p1}, Lcom/ss/android/socialbase/appdownloader/h;->z()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v9, "\npossibleRedirectSavePath = "

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v8, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v9, "\ndefaultSavePath = "

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v8, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    .line 132
    invoke-static {v7, v6}, Les/wn0;->b(Ljava/lang/String;Ljava/lang/String;)V

    if-nez v1, :cond_7

    .line 133
    invoke-virtual {p1}, Lcom/ss/android/socialbase/appdownloader/h;->z()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_7

    if-eqz v2, :cond_6

    goto :goto_2

    .line 134
    :cond_6
    sget-object p1, Lcom/ss/android/socialbase/appdownloader/e;->m:Ljava/lang/String;

    const-string p2, "redirectSavePath error"

    invoke-static {p1, p2}, Les/wn0;->b(Ljava/lang/String;Ljava/lang/String;)V

    const/4 p1, 0x7

    goto :goto_4

    .line 135
    :cond_7
    :goto_2
    invoke-virtual {p1}, Lcom/ss/android/socialbase/appdownloader/h;->w()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {p0, v1, p2}, Lcom/ss/android/socialbase/appdownloader/e;->a(Landroid/content/Context;Ljava/lang/String;)Les/zn0;

    move-result-object p2

    if-eqz p2, :cond_8

    .line 136
    invoke-virtual {p2}, Les/zn0;->G0()Z

    move-result v1

    if-eqz v1, :cond_8

    .line 137
    sget-object v0, Lcom/ss/android/socialbase/appdownloader/e;->m:Ljava/lang/String;

    const-string v1, "relatedUrlDownload.isSavePathRedirected is true"

    invoke-static {v0, v1}, Les/wn0;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 138
    invoke-virtual {p2}, Les/zn0;->R0()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Lcom/ss/android/socialbase/appdownloader/h;->c(Ljava/lang/String;)Lcom/ss/android/socialbase/appdownloader/h;

    .line 139
    :try_start_0
    new-instance v0, Lorg/json/JSONObject;

    invoke-virtual {p2}, Les/zn0;->m()Ljava/lang/String;

    move-result-object p2

    invoke-direct {v0, p2}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1, v0}, Lcom/ss/android/socialbase/appdownloader/h;->a(Lorg/json/JSONObject;)Lcom/ss/android/socialbase/appdownloader/h;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_3

    :cond_8
    if-nez p2, :cond_9

    .line 140
    invoke-virtual {p1}, Lcom/ss/android/socialbase/appdownloader/h;->I()Ljava/lang/String;

    move-result-object v1

    invoke-direct {p0, v5, v1}, Lcom/ss/android/socialbase/appdownloader/e;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "application/vnd.android.package-archive"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_9

    .line 141
    sget-object p2, Lcom/ss/android/socialbase/appdownloader/e;->m:Ljava/lang/String;

    const-string v1, "relatedUrlDownload is null && mimetype is apk"

    invoke-static {p2, v1}, Les/wn0;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 142
    invoke-static {v0}, Lcom/ss/android/socialbase/appdownloader/c;->a(Les/jo0;)I

    move-result v3

    if-nez v3, :cond_b

    .line 143
    invoke-virtual {p1, v4}, Lcom/ss/android/socialbase/appdownloader/h;->c(Ljava/lang/String;)Lcom/ss/android/socialbase/appdownloader/h;

    goto :goto_3

    :cond_9
    if-eqz p2, :cond_a

    .line 144
    sget-object p1, Lcom/ss/android/socialbase/appdownloader/e;->m:Ljava/lang/String;

    const-string p2, "relatedUrlDownload is not null"

    invoke-static {p1, p2}, Les/wn0;->b(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v3, 0x8

    goto :goto_3

    .line 145
    :cond_a
    sget-object p1, Lcom/ss/android/socialbase/appdownloader/e;->m:Ljava/lang/String;

    const-string p2, "mimetype is not apk"

    invoke-static {p1, p2}, Les/wn0;->b(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v3, 0x9

    :catchall_0
    :cond_b
    :goto_3
    move p1, v3

    :goto_4
    return p1
.end method

.method private a(Les/wl0;)Les/vn0;
    .locals 1

    if-nez p1, :cond_0

    const/4 p1, 0x0

    return-object p1

    .line 160
    :cond_0
    new-instance v0, Lcom/ss/android/socialbase/appdownloader/e$c;

    invoke-direct {v0, p0, p1}, Lcom/ss/android/socialbase/appdownloader/e$c;-><init>(Lcom/ss/android/socialbase/appdownloader/e;Les/wl0;)V

    return-object v0
.end method

.method static synthetic a(Lcom/ss/android/socialbase/appdownloader/e;)Les/zl0;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/ss/android/socialbase/appdownloader/e;->c:Les/zl0;

    return-object p0
.end method

.method private a(Landroid/content/Context;Ljava/lang/String;Ljava/io/File;)Les/zn0;
    .locals 1

    if-eqz p1, :cond_1

    .line 168
    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    if-nez p3, :cond_0

    goto :goto_0

    .line 169
    :cond_0
    invoke-static {p1}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(Landroid/content/Context;)Lcom/ss/android/socialbase/downloader/downloader/g;

    move-result-object p1

    invoke-virtual {p3}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object p3

    invoke-virtual {p1, p2, p3}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(Ljava/lang/String;Ljava/lang/String;)Les/zn0;

    move-result-object p1

    return-object p1

    :cond_1
    :goto_0
    const/4 p1, 0x0

    return-object p1
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    .line 159
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, ".apk"

    invoke-virtual {p1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_0

    invoke-static {p2}, Lcom/ss/android/socialbase/appdownloader/d;->d(Ljava/lang/String;)Z

    move-result p1

    if-nez p1, :cond_0

    const-string p2, "application/vnd.android.package-archive"

    :cond_0
    return-object p2
.end method

.method private a(Ljava/util/List;)Ljava/util/List;
    .locals 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Les/bo0;",
            ">;)",
            "Ljava/util/List<",
            "Les/bo0;",
            ">;"
        }
    .end annotation

    .line 150
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    const-string v1, "User-Agent"

    const/4 v2, 0x0

    if-eqz p1, :cond_2

    .line 151
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v3

    if-lez v3, :cond_2

    .line 152
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_0
    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_2

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Les/bo0;

    if-eqz v3, :cond_0

    .line 153
    invoke-virtual {v3}, Les/bo0;->a()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_0

    invoke-virtual {v3}, Les/bo0;->b()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_0

    .line 154
    invoke-virtual {v3}, Les/bo0;->a()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v4, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    const/4 v2, 0x1

    .line 155
    :cond_1
    new-instance v4, Les/bo0;

    invoke-virtual {v3}, Les/bo0;->a()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3}, Les/bo0;->b()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v4, v5, v3}, Les/bo0;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    .line 156
    invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_2
    if-nez v2, :cond_3

    .line 157
    new-instance p1, Les/bo0;

    sget-object v2, Les/rl0;->a:Ljava/lang/String;

    invoke-direct {p1, v1, v2}, Les/bo0;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    .line 158
    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_3
    return-object v0
.end method

.method static synthetic a(Lcom/ss/android/socialbase/appdownloader/e;Les/ao0;IZ)V
    .locals 0

    .line 2
    invoke-direct {p0, p1, p2, p3}, Lcom/ss/android/socialbase/appdownloader/e;->a(Les/ao0;IZ)V

    return-void
.end method

.method private a(Les/ao0;IZ)V
    .locals 0

    if-nez p1, :cond_0

    return-void

    .line 146
    :cond_0
    invoke-virtual {p1}, Les/ao0;->n()I

    .line 147
    invoke-virtual {p1}, Les/ao0;->a()Les/zn0;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 148
    invoke-virtual {p1, p2}, Les/zn0;->k(I)V

    :cond_1
    if-eqz p1, :cond_2

    if-eqz p3, :cond_2

    .line 149
    invoke-virtual {p1, p3}, Les/zn0;->m(Z)V

    :cond_2
    return-void
.end method

.method public static a(Landroid/content/Context;I)Z
    .locals 1

    const/4 v0, 0x1

    .line 19
    invoke-static {p0, p1, v0}, Lcom/ss/android/socialbase/appdownloader/d;->a(Landroid/content/Context;IZ)I

    move-result p0

    if-ne p0, v0, :cond_0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method private b(Landroid/content/Context;Ljava/lang/String;)Les/zn0;
    .locals 1

    .line 8
    invoke-static {p1}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(Landroid/content/Context;)Lcom/ss/android/socialbase/downloader/downloader/g;

    move-result-object p1

    invoke-virtual {p1, p2}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(Ljava/lang/String;)Ljava/util/List;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 9
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result p2

    if-eqz p2, :cond_1

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Les/zn0;

    if-eqz p2, :cond_0

    .line 10
    invoke-virtual {p2}, Les/zn0;->G0()Z

    move-result v0

    if-eqz v0, :cond_0

    return-object p2

    :cond_1
    const/4 p1, 0x0

    return-object p1
.end method

.method public static k()Lcom/ss/android/socialbase/appdownloader/e;
    .locals 2

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/appdownloader/e;->n:Lcom/ss/android/socialbase/appdownloader/e;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/ss/android/socialbase/appdownloader/e;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/appdownloader/e;->n:Lcom/ss/android/socialbase/appdownloader/e;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lcom/ss/android/socialbase/appdownloader/e;

    invoke-direct {v1}, Lcom/ss/android/socialbase/appdownloader/e;-><init>()V

    sput-object v1, Lcom/ss/android/socialbase/appdownloader/e;->n:Lcom/ss/android/socialbase/appdownloader/e;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Lcom/ss/android/socialbase/appdownloader/e;->n:Lcom/ss/android/socialbase/appdownloader/e;

    return-object v0
.end method

.method static synthetic l()Ljava/lang/String;
    .locals 1

    .line 1
    sget-object v0, Lcom/ss/android/socialbase/appdownloader/e;->m:Ljava/lang/String;

    return-object v0
.end method

.method private m()V
    .locals 5

    .line 1
    sget-boolean v0, Lcom/ss/android/socialbase/appdownloader/e;->p:Z

    if-eqz v0, :cond_0

    return-void

    .line 2
    :cond_0
    iget-object v0, p0, Lcom/ss/android/socialbase/appdownloader/e;->i:Lcom/ss/android/socialbase/appdownloader/a;

    if-nez v0, :cond_1

    .line 3
    new-instance v0, Lcom/ss/android/socialbase/appdownloader/a;

    invoke-direct {v0}, Lcom/ss/android/socialbase/appdownloader/a;-><init>()V

    iput-object v0, p0, Lcom/ss/android/socialbase/appdownloader/e;->i:Lcom/ss/android/socialbase/appdownloader/a;

    .line 4
    :cond_1
    :try_start_0
    new-instance v0, Landroid/content/IntentFilter;

    invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V

    const-string v1, "android.net.conn.CONNECTIVITY_CHANGE"

    .line 5
    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    const-string v1, "android.intent.action.BOOT_COMPLETED"

    .line 6
    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    const-string v1, "android.ss.intent.action.DOWNLOAD_COMPLETE"

    .line 7
    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 8
    new-instance v1, Landroid/content/IntentFilter;

    invoke-direct {v1}, Landroid/content/IntentFilter;-><init>()V

    const-string v2, "android.intent.action.PACKAGE_ADDED"

    .line 9
    invoke-virtual {v1, v2}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    const-string v2, "android.intent.action.PACKAGE_REPLACED"

    .line 10
    invoke-virtual {v1, v2}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    const-string v2, "package"

    .line 11
    invoke-virtual {v1, v2}, Landroid/content/IntentFilter;->addDataScheme(Ljava/lang/String;)V

    .line 12
    new-instance v2, Landroid/content/IntentFilter;

    invoke-direct {v2}, Landroid/content/IntentFilter;-><init>()V

    const-string v3, "android.intent.action.MEDIA_MOUNTED"

    .line 13
    invoke-virtual {v2, v3}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    const-string v3, "file"

    .line 14
    invoke-virtual {v2, v3}, Landroid/content/IntentFilter;->addDataScheme(Ljava/lang/String;)V

    .line 15
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->b()Landroid/content/Context;

    move-result-object v3

    iget-object v4, p0, Lcom/ss/android/socialbase/appdownloader/e;->i:Lcom/ss/android/socialbase/appdownloader/a;

    invoke-virtual {v3, v4, v0}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    .line 16
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->b()Landroid/content/Context;

    move-result-object v0

    iget-object v3, p0, Lcom/ss/android/socialbase/appdownloader/e;->i:Lcom/ss/android/socialbase/appdownloader/a;

    invoke-virtual {v0, v3, v1}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    .line 17
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->b()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/ss/android/socialbase/appdownloader/e;->i:Lcom/ss/android/socialbase/appdownloader/a;

    invoke-virtual {v0, v1, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    const/4 v0, 0x1

    .line 18
    sput-boolean v0, Lcom/ss/android/socialbase/appdownloader/e;->p:Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 19
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    :goto_0
    return-void
.end method


# virtual methods
.method public a(Lcom/ss/android/socialbase/appdownloader/h;)I
    .locals 21

    move-object/from16 v7, p0

    move-object/from16 v8, p1

    const/4 v9, 0x0

    if-eqz v8, :cond_15

    .line 25
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->w()Landroid/content/Context;

    move-result-object v0

    if-nez v0, :cond_0

    goto/16 :goto_9

    .line 26
    :cond_0
    :try_start_0
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->A()Ljava/util/List;

    move-result-object v0

    invoke-direct {v7, v0}, Lcom/ss/android/socialbase/appdownloader/e;->a(Ljava/util/List;)Ljava/util/List;

    move-result-object v1

    .line 27
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->x()Ljava/lang/String;

    move-result-object v2

    .line 28
    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_3

    if-eqz v0, :cond_1

    return v9

    .line 29
    :cond_1
    :try_start_1
    invoke-direct {v7, v8, v2}, Lcom/ss/android/socialbase/appdownloader/e;->a(Lcom/ss/android/socialbase/appdownloader/h;Ljava/lang/String;)I

    move-result v0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    move v5, v0

    goto :goto_0

    :catchall_0
    move-exception v0

    move-object v3, v0

    .line 30
    :try_start_2
    sget-object v0, Lcom/ss/android/socialbase/appdownloader/e;->m:Ljava/lang/String;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "redirectSavePathIfEmpty: throwable = "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v0, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    const/4 v0, 0x4

    const/4 v5, 0x4

    .line 31
    :goto_0
    sget-object v0, Lcom/ss/android/socialbase/appdownloader/e;->m:Ljava/lang/String;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "antihijackErrorCode = "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v0, v3}, Les/wn0;->b(Ljava/lang/String;Ljava/lang/String;)V

    if-nez v5, :cond_2

    const/4 v6, 0x1

    goto :goto_1

    :cond_2
    const/4 v6, 0x0

    .line 32
    :goto_1
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->l()Ljava/lang/String;

    move-result-object v0

    .line 33
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->y()Ljava/lang/String;

    move-result-object v3

    .line 34
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-eqz v4, :cond_3

    .line 35
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->I()Ljava/lang/String;

    move-result-object v0

    invoke-static {v2, v3, v0, v6}, Lcom/ss/android/socialbase/appdownloader/d;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    .line 36
    :cond_3
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v4

    const/16 v12, 0xff

    if-le v4, v12, :cond_4

    .line 37
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v4

    sub-int/2addr v4, v12

    invoke-virtual {v0, v4}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    .line 38
    :cond_4
    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-eqz v4, :cond_5

    move-object v3, v0

    .line 39
    :cond_5
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->I()Ljava/lang/String;

    move-result-object v4

    const-string v12, ".apk"

    .line 40
    invoke-virtual {v0, v12}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_6

    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->I()Ljava/lang/String;

    move-result-object v12

    invoke-static {v12}, Lcom/ss/android/socialbase/appdownloader/d;->d(Ljava/lang/String;)Z

    move-result v12

    if-nez v12, :cond_6

    const-string v4, "application/vnd.android.package-archive"

    .line 41
    :cond_6
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->z()Ljava/lang/String;

    move-result-object v12

    .line 42
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->z()Ljava/lang/String;

    move-result-object v13

    invoke-static {v13}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v13

    if-eqz v13, :cond_7

    .line 43
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->w()Landroid/content/Context;

    move-result-object v12

    invoke-static {v12}, Lcom/ss/android/socialbase/appdownloader/d;->a(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v12

    :cond_7
    move-object v15, v12

    .line 44
    invoke-static {v15}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v12

    if-nez v12, :cond_14

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v12

    if-eqz v12, :cond_8

    goto/16 :goto_8

    .line 45
    :cond_8
    invoke-static {v2, v15}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Ljava/lang/String;Ljava/lang/String;)I

    move-result v14

    .line 46
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->u()Lorg/json/JSONObject;

    move-result-object v12

    invoke-static {v12}, Les/jo0;->a(Lorg/json/JSONObject;)Les/jo0;

    move-result-object v12

    const-string v13, "resume_task_override_settings"

    invoke-virtual {v12, v13}, Les/jo0;->a(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_9

    .line 47
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->b()Landroid/content/Context;

    move-result-object v12

    invoke-static {v12}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(Landroid/content/Context;)Lcom/ss/android/socialbase/downloader/downloader/g;

    move-result-object v12

    invoke-virtual {v12, v14}, Lcom/ss/android/socialbase/downloader/downloader/g;->h(I)Les/zn0;

    move-result-object v12
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_3

    if-eqz v12, :cond_9

    .line 48
    :try_start_3
    new-instance v13, Lorg/json/JSONObject;

    invoke-virtual {v12}, Les/zn0;->m()Ljava/lang/String;

    move-result-object v12

    invoke-direct {v13, v12}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    invoke-virtual {v8, v13}, Lcom/ss/android/socialbase/appdownloader/h;->a(Lorg/json/JSONObject;)Lcom/ss/android/socialbase/appdownloader/h;
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_1

    .line 49
    :catchall_1
    :cond_9
    :try_start_4
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->u()Lorg/json/JSONObject;

    move-result-object v12

    invoke-static {v14, v12}, Les/jo0;->a(ILorg/json/JSONObject;)V

    .line 50
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->k()Z

    move-result v12

    if-nez v12, :cond_a

    .line 51
    invoke-static {v15, v0}, Lcom/ss/android/socialbase/downloader/m/f;->d(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v13

    if-eqz v13, :cond_a

    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->w()Landroid/content/Context;

    move-result-object v13

    invoke-static {v13}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(Landroid/content/Context;)Lcom/ss/android/socialbase/downloader/downloader/g;

    move-result-object v13

    invoke-virtual {v13, v14}, Lcom/ss/android/socialbase/downloader/downloader/g;->h(I)Les/zn0;

    move-result-object v13

    if-nez v13, :cond_a

    const/4 v13, 0x1

    goto :goto_2

    :cond_a
    move v13, v12

    .line 52
    :goto_2
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->G()Les/sn0;

    move-result-object v12

    if-nez v12, :cond_c

    .line 53
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->B()Z

    move-result v16

    if-nez v16, :cond_b

    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->C()Z

    move-result v16

    if-eqz v16, :cond_c

    .line 54
    :cond_b
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->K()Lcom/ss/android/socialbase/downloader/notification/a;

    move-result-object v12

    if-eqz v12, :cond_d

    .line 55
    new-instance v12, Lcom/ss/android/socialbase/appdownloader/i;

    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->K()Lcom/ss/android/socialbase/downloader/notification/a;

    move-result-object v11

    invoke-direct {v12, v11}, Lcom/ss/android/socialbase/appdownloader/i;-><init>(Lcom/ss/android/socialbase/downloader/notification/a;)V

    :cond_c
    move v10, v13

    move/from16 v19, v14

    move-object/from16 v20, v15

    goto :goto_3

    .line 56
    :cond_d
    new-instance v11, Lcom/ss/android/socialbase/appdownloader/i;

    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->w()Landroid/content/Context;

    move-result-object v16

    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->H()Ljava/lang/String;

    move-result-object v18

    move-object v12, v11

    move v10, v13

    move-object/from16 v13, v16

    move/from16 v19, v14

    move-object/from16 v20, v15

    move-object v15, v3

    move-object/from16 v16, v20

    move-object/from16 v17, v0

    invoke-direct/range {v12 .. v18}, Lcom/ss/android/socialbase/appdownloader/i;-><init>(Landroid/content/Context;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    move-object v12, v11

    .line 57
    :goto_3
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->n()Les/hn0;

    move-result-object v11

    if-nez v11, :cond_e

    .line 58
    new-instance v11, Lcom/ss/android/socialbase/appdownloader/e$a;

    invoke-direct {v11, v7}, Lcom/ss/android/socialbase/appdownloader/e$a;-><init>(Lcom/ss/android/socialbase/appdownloader/e;)V

    .line 59
    :cond_e
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->H()Ljava/lang/String;

    move-result-object v13
    :try_end_4
    .catchall {:try_start_4 .. :try_end_4} :catchall_3

    .line 60
    :try_start_5
    invoke-static {v13}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v14

    if-nez v14, :cond_f

    .line 61
    new-instance v14, Lorg/json/JSONObject;

    invoke-direct {v14, v13}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    goto :goto_4

    .line 62
    :cond_f
    new-instance v14, Lorg/json/JSONObject;

    invoke-direct {v14}, Lorg/json/JSONObject;-><init>()V

    :goto_4
    const-string v15, "auto_install_with_notification"

    .line 63
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->D()Z

    move-result v9

    invoke-virtual {v14, v15, v9}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    const-string v9, "auto_install_without_notification"

    .line 64
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->C()Z

    move-result v15

    invoke-virtual {v14, v9, v15}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    .line 65
    invoke-virtual {v14}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object v13
    :try_end_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_2

    .line 66
    :catchall_2
    :try_start_6
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->B()Z

    move-result v9

    if-nez v9, :cond_11

    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->C()Z

    move-result v9

    if-eqz v9, :cond_10

    goto :goto_5

    :cond_10
    const/4 v9, 0x0

    goto :goto_6

    :cond_11
    :goto_5
    const/4 v9, 0x1

    .line 67
    :goto_6
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->w()Landroid/content/Context;

    move-result-object v14

    invoke-static {v14}, Lcom/ss/android/socialbase/downloader/downloader/g;->b(Landroid/content/Context;)Les/ao0;

    move-result-object v14

    .line 68
    invoke-virtual {v14, v2}, Les/ao0;->c(Ljava/lang/String;)Les/ao0;

    .line 69
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->s()Ljava/util/List;

    move-result-object v2

    invoke-virtual {v14, v2}, Les/ao0;->b(Ljava/util/List;)Les/ao0;

    .line 70
    invoke-virtual {v14, v0}, Les/ao0;->a(Ljava/lang/String;)Les/ao0;

    .line 71
    invoke-virtual {v14, v3}, Les/ao0;->b(Ljava/lang/String;)Les/ao0;

    move-object/from16 v0, v20

    .line 72
    invoke-virtual {v14, v0}, Les/ao0;->d(Ljava/lang/String;)Les/ao0;

    .line 73
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->E()Z

    move-result v0

    invoke-virtual {v14, v0}, Les/ao0;->b(Z)Les/ao0;

    .line 74
    invoke-virtual {v14, v1}, Les/ao0;->a(Ljava/util/List;)Les/ao0;

    .line 75
    invoke-virtual {v14, v11}, Les/ao0;->a(Les/hn0;)Les/ao0;

    .line 76
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->R()I

    move-result v0

    invoke-virtual {v14, v0}, Les/ao0;->a(I)Les/ao0;

    .line 77
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->S()I

    move-result v0

    invoke-virtual {v14, v0}, Les/ao0;->b(I)Les/ao0;

    .line 78
    invoke-virtual {v14, v9}, Les/ao0;->d(Z)Les/ao0;

    .line 79
    invoke-virtual {v14, v13}, Les/ao0;->e(Ljava/lang/String;)Les/ao0;

    .line 80
    invoke-virtual {v14, v4}, Les/ao0;->f(Ljava/lang/String;)Les/ao0;

    .line 81
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->d()I

    move-result v0

    invoke-virtual {v14, v0}, Les/ao0;->d(I)Les/ao0;

    .line 82
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->e()I

    move-result v0

    invoke-virtual {v14, v0}, Les/ao0;->c(I)Les/ao0;

    .line 83
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->F()Les/sn0;

    move-result-object v0

    invoke-virtual {v14, v0}, Les/ao0;->a(Les/sn0;)Les/ao0;

    .line 84
    invoke-virtual {v14, v12}, Les/ao0;->b(Les/sn0;)Les/ao0;

    .line 85
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->o()Les/wl0;

    move-result-object v0

    invoke-direct {v7, v0}, Lcom/ss/android/socialbase/appdownloader/e;->a(Les/wl0;)Les/vn0;

    move-result-object v0

    invoke-virtual {v14, v0}, Les/ao0;->a(Les/vn0;)Les/ao0;

    .line 86
    invoke-virtual {v14, v10}, Les/ao0;->c(Z)Les/ao0;

    .line 87
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->N()Z

    move-result v0

    invoke-virtual {v14, v0}, Les/ao0;->f(Z)Les/ao0;

    .line 88
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->O()Z

    move-result v0

    invoke-virtual {v14, v0}, Les/ao0;->g(Z)Les/ao0;

    .line 89
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->L()Lcom/ss/android/socialbase/downloader/downloader/j;

    move-result-object v0

    invoke-virtual {v14, v0}, Les/ao0;->a(Lcom/ss/android/socialbase/downloader/downloader/j;)Les/ao0;

    .line 90
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->M()Lcom/ss/android/socialbase/downloader/downloader/i;

    move-result-object v0

    invoke-virtual {v14, v0}, Les/ao0;->a(Lcom/ss/android/socialbase/downloader/downloader/i;)Les/ao0;

    .line 91
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->J()Z

    move-result v0

    invoke-virtual {v14, v0}, Les/ao0;->e(Z)Les/ao0;

    .line 92
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->P()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v14, v0}, Les/ao0;->g(Ljava/lang/String;)Les/ao0;

    .line 93
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->Q()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v14, v0}, Les/ao0;->h(Ljava/lang/String;)Les/ao0;

    .line 94
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->T()Z

    move-result v0

    invoke-virtual {v14, v0}, Les/ao0;->h(Z)Les/ao0;

    .line 95
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->U()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v14, v0}, Les/ao0;->i(Ljava/lang/String;)Les/ao0;

    .line 96
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->a()Z

    move-result v0

    invoke-virtual {v14, v0}, Les/ao0;->i(Z)Les/ao0;

    .line 97
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->b()Z

    move-result v0

    invoke-virtual {v14, v0}, Les/ao0;->j(Z)Les/ao0;

    .line 98
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->f()Z

    move-result v0

    invoke-virtual {v14, v0}, Les/ao0;->l(Z)Les/ao0;

    .line 99
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->g()Z

    move-result v0

    invoke-virtual {v14, v0}, Les/ao0;->m(Z)Les/ao0;

    .line 100
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->j()Lcom/ss/android/socialbase/downloader/b/g;

    move-result-object v0

    invoke-virtual {v14, v0}, Les/ao0;->a(Lcom/ss/android/socialbase/downloader/b/g;)Les/ao0;

    .line 101
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->m()Les/tn0;

    move-result-object v0

    invoke-virtual {v14, v0}, Les/ao0;->a(Les/tn0;)Les/ao0;

    .line 102
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->c()Lcom/ss/android/socialbase/downloader/downloader/s;

    move-result-object v0

    invoke-virtual {v14, v0}, Les/ao0;->a(Lcom/ss/android/socialbase/downloader/downloader/s;)Les/ao0;

    .line 103
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->h()Z

    move-result v0

    invoke-virtual {v14, v0}, Les/ao0;->n(Z)Les/ao0;

    .line 104
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->p()Les/mn0;

    move-result-object v0

    invoke-virtual {v14, v0}, Les/ao0;->a(Les/mn0;)Les/ao0;

    .line 105
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->t()Les/ln0;

    move-result-object v0

    invoke-virtual {v14, v0}, Les/ao0;->a(Les/ln0;)Les/ao0;

    .line 106
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->i()Z

    move-result v0

    invoke-virtual {v14, v0}, Les/ao0;->k(Z)Les/ao0;

    .line 107
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->q()Les/sm0;

    move-result-object v0

    invoke-virtual {v14, v0}, Les/ao0;->a(Les/sm0;)Les/ao0;

    .line 108
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->u()Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {v14, v0}, Les/ao0;->a(Lorg/json/JSONObject;)Les/ao0;

    if-eqz v14, :cond_13

    if-eqz v9, :cond_12

    .line 109
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->r()Z

    move-result v0

    if-eqz v0, :cond_12

    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->v()Landroid/app/Activity;

    move-result-object v0

    if-eqz v0, :cond_12

    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->v()Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->isFinishing()Z

    move-result v0

    if-nez v0, :cond_12

    invoke-static {}, Lcom/ss/android/socialbase/appdownloader/k;->a()Z

    move-result v0

    if-nez v0, :cond_12

    .line 110
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->v()Landroid/app/Activity;

    move-result-object v0

    new-instance v9, Lcom/ss/android/socialbase/appdownloader/e$b;

    move-object v1, v9

    move-object/from16 v2, p0

    move-object v4, v14

    invoke-direct/range {v1 .. v6}, Lcom/ss/android/socialbase/appdownloader/e$b;-><init>(Lcom/ss/android/socialbase/appdownloader/e;Ljava/lang/String;Les/ao0;IZ)V

    invoke-static {v0, v9}, Lcom/ss/android/socialbase/appdownloader/k;->a(Landroid/app/Activity;Les/em0;)V

    goto :goto_7

    .line 111
    :cond_12
    sget-object v0, Lcom/ss/android/socialbase/appdownloader/e;->m:Ljava/lang/String;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "notification permission need not request, start download :"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Les/wn0;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 112
    invoke-direct {v7, v14, v5, v6}, Lcom/ss/android/socialbase/appdownloader/e;->a(Les/ao0;IZ)V

    .line 113
    invoke-virtual {v14}, Les/ao0;->a()Les/zn0;
    :try_end_6
    .catchall {:try_start_6 .. :try_end_6} :catchall_3

    :cond_13
    :goto_7
    return v19

    :cond_14
    :goto_8
    const/4 v1, 0x0

    return v1

    :catchall_3
    move-exception v0

    .line 114
    invoke-virtual/range {p1 .. p1}, Lcom/ss/android/socialbase/appdownloader/h;->m()Les/tn0;

    move-result-object v1

    new-instance v2, Lcom/ss/android/socialbase/downloader/e/a;

    const/16 v3, 0x3eb

    const-string v4, "addDownloadTask"

    invoke-static {v0, v4}, Lcom/ss/android/socialbase/downloader/m/f;->b(Ljava/lang/Throwable;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v2, v3, v4}, Lcom/ss/android/socialbase/downloader/e/a;-><init>(ILjava/lang/String;)V

    const/4 v3, 0x0

    const/4 v4, 0x0

    invoke-static {v1, v3, v2, v4}, Les/do0;->a(Les/tn0;Les/zn0;Lcom/ss/android/socialbase/downloader/e/a;I)V

    .line 115
    sget-object v1, Lcom/ss/android/socialbase/appdownloader/e;->m:Ljava/lang/String;

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/Object;

    aput-object v0, v2, v4

    const-string v0, "add download task error:%s"

    invoke-static {v0, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Les/wn0;->e(Ljava/lang/String;Ljava/lang/String;)V

    return v4

    :cond_15
    :goto_9
    const/4 v4, 0x0

    return v4
.end method

.method public a()Les/ul0;
    .locals 1

    .line 3
    iget-object v0, p0, Lcom/ss/android/socialbase/appdownloader/e;->a:Les/ul0;

    return-object v0
.end method

.method public a(Landroid/content/Context;Ljava/lang/String;)Les/zn0;
    .locals 4

    .line 161
    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_4

    if-nez p1, :cond_0

    goto :goto_0

    .line 162
    :cond_0
    :try_start_0
    invoke-virtual {p0}, Lcom/ss/android/socialbase/appdownloader/e;->f()Ljava/io/File;

    move-result-object v0

    invoke-direct {p0, p1, p2, v0}, Lcom/ss/android/socialbase/appdownloader/e;->a(Landroid/content/Context;Ljava/lang/String;Ljava/io/File;)Les/zn0;

    move-result-object v0

    if-nez v0, :cond_1

    .line 163
    invoke-virtual {p1}, Landroid/content/Context;->getFilesDir()Ljava/io/File;

    move-result-object v0

    invoke-direct {p0, p1, p2, v0}, Lcom/ss/android/socialbase/appdownloader/e;->a(Landroid/content/Context;Ljava/lang/String;Ljava/io/File;)Les/zn0;

    move-result-object v0

    :cond_1
    if-nez v0, :cond_2

    .line 164
    sget-object v0, Landroid/os/Environment;->DIRECTORY_DOWNLOADS:Ljava/lang/String;

    invoke-static {v0}, Landroid/os/Environment;->getExternalStoragePublicDirectory(Ljava/lang/String;)Ljava/io/File;

    move-result-object v0

    invoke-direct {p0, p1, p2, v0}, Lcom/ss/android/socialbase/appdownloader/e;->a(Landroid/content/Context;Ljava/lang/String;Ljava/io/File;)Les/zn0;

    move-result-object v0

    .line 165
    :cond_2
    invoke-static {}, Les/jo0;->b()Les/jo0;

    move-result-object v2

    const-string v3, "get_download_info_by_list"

    invoke-virtual {v2, v3}, Les/jo0;->a(Ljava/lang/String;)Z

    move-result v2

    if-nez v0, :cond_3

    if-eqz v2, :cond_3

    .line 166
    invoke-direct {p0, p1, p2}, Lcom/ss/android/socialbase/appdownloader/e;->b(Landroid/content/Context;Ljava/lang/String;)Les/zn0;

    move-result-object v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_3
    return-object v0

    :catchall_0
    move-exception p1

    .line 167
    sget-object p2, Lcom/ss/android/socialbase/appdownloader/e;->m:Ljava/lang/String;

    const/4 v0, 0x1

    new-array v0, v0, [Ljava/lang/Object;

    const/4 v2, 0x0

    invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;

    move-result-object p1

    aput-object p1, v0, v2

    const-string p1, "getAppDownloadInfo error:%s"

    invoke-static {p1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p2, p1}, Les/wn0;->b(Ljava/lang/String;Ljava/lang/String;)V

    :cond_4
    :goto_0
    return-object v1
.end method

.method public a(Landroid/content/Context;)Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            ")",
            "Ljava/util/List<",
            "Les/zn0;",
            ">;"
        }
    .end annotation

    .line 170
    invoke-static {p1}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(Landroid/content/Context;)Lcom/ss/android/socialbase/downloader/downloader/g;

    move-result-object p1

    const-string v0, "application/vnd.android.package-archive"

    invoke-virtual {p1, v0}, Lcom/ss/android/socialbase/downloader/downloader/g;->c(Ljava/lang/String;)Ljava/util/List;

    move-result-object p1

    return-object p1
.end method

.method public a(I)V
    .locals 2
    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    if-gez p1, :cond_0

    const/4 p1, 0x0

    .line 9
    :cond_0
    :try_start_0
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->B()Lorg/json/JSONObject;

    move-result-object v0

    const-string v1, "failed_resume_max_count"

    .line 10
    invoke-virtual {v0, v1, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method

.method public a(J)V
    .locals 4
    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    const-wide/16 v0, 0x0

    cmp-long v2, p1, v0

    if-gez v2, :cond_0

    move-wide p1, v0

    .line 7
    :cond_0
    :try_start_0
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->B()Lorg/json/JSONObject;

    move-result-object v0

    const-string v1, "failed_resume_min_hours"
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    long-to-double p1, p1

    const-wide v2, 0x414b774000000000L    # 3600000.0

    invoke-static {p1, p2}, Ljava/lang/Double;->isNaN(D)Z

    div-double/2addr p1, v2

    .line 8
    :try_start_1
    invoke-virtual {v0, v1, p1, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;D)Lorg/json/JSONObject;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    :catch_0
    return-void
.end method

.method public a(Landroid/content/Context;II)V
    .locals 0

    packed-switch p3, :pswitch_data_0

    :pswitch_0
    goto :goto_0

    .line 20
    :pswitch_1
    :try_start_0
    invoke-static {p1}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(Landroid/content/Context;)Lcom/ss/android/socialbase/downloader/downloader/g;

    move-result-object p1

    invoke-virtual {p1, p2}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(I)V

    goto :goto_0

    .line 21
    :pswitch_2
    invoke-static {p1}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(Landroid/content/Context;)Lcom/ss/android/socialbase/downloader/downloader/g;

    move-result-object p1

    invoke-virtual {p1, p2}, Lcom/ss/android/socialbase/downloader/downloader/g;->c(I)V

    goto :goto_0

    :pswitch_3
    const/4 p3, 0x1

    .line 22
    invoke-static {p1, p2, p3}, Lcom/ss/android/socialbase/appdownloader/d;->a(Landroid/content/Context;IZ)I

    goto :goto_0

    .line 23
    :pswitch_4
    invoke-static {p1}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(Landroid/content/Context;)Lcom/ss/android/socialbase/downloader/downloader/g;

    move-result-object p1

    invoke-virtual {p1, p2}, Lcom/ss/android/socialbase/downloader/downloader/g;->e(I)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 24
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :goto_0
    return-void

    :pswitch_data_0
    .packed-switch -0x4
        :pswitch_4
        :pswitch_3
        :pswitch_2
        :pswitch_4
        :pswitch_0
        :pswitch_1
        :pswitch_1
        :pswitch_1
        :pswitch_1
        :pswitch_1
        :pswitch_0
        :pswitch_1
        :pswitch_1
    .end packed-switch
.end method

.method public a(Landroid/content/Context;Ljava/lang/String;Les/ul0;Les/vl0;Les/zl0;)V
    .locals 0
    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    if-eqz p3, :cond_0

    .line 11
    iput-object p3, p0, Lcom/ss/android/socialbase/appdownloader/e;->a:Les/ul0;

    :cond_0
    if-eqz p4, :cond_1

    .line 12
    iput-object p4, p0, Lcom/ss/android/socialbase/appdownloader/e;->b:Les/vl0;

    :cond_1
    if-eqz p5, :cond_2

    .line 13
    iput-object p5, p0, Lcom/ss/android/socialbase/appdownloader/e;->c:Les/zl0;

    :cond_2
    if-eqz p1, :cond_3

    .line 14
    sget-boolean p2, Lcom/ss/android/socialbase/appdownloader/e;->o:Z

    if-nez p2, :cond_3

    .line 15
    invoke-static {p1}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Landroid/content/Context;)V

    .line 16
    new-instance p1, Les/gm0;

    invoke-direct {p1}, Les/gm0;-><init>()V

    invoke-static {p1}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Lcom/ss/android/socialbase/downloader/downloader/n;)V

    .line 17
    invoke-direct {p0}, Lcom/ss/android/socialbase/appdownloader/e;->m()V

    const/4 p1, 0x1

    .line 18
    sput-boolean p1, Lcom/ss/android/socialbase/appdownloader/e;->o:Z

    :cond_3
    return-void
.end method

.method public a(Les/am0;)V
    .locals 0

    .line 172
    iput-object p1, p0, Lcom/ss/android/socialbase/appdownloader/e;->f:Les/am0;

    return-void
.end method

.method public a(Les/yl0;)V
    .locals 0

    .line 171
    iput-object p1, p0, Lcom/ss/android/socialbase/appdownloader/e;->d:Les/yl0;

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 1

    .line 4
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    return-void

    .line 5
    :cond_0
    iput-object p1, p0, Lcom/ss/android/socialbase/appdownloader/e;->h:Ljava/lang/String;

    return-void
.end method

.method public a(Z)V
    .locals 0

    .line 6
    iput-boolean p1, p0, Lcom/ss/android/socialbase/appdownloader/e;->j:Z

    return-void
.end method

.method public b()Les/vl0;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/ss/android/socialbase/appdownloader/e;->b:Les/vl0;

    return-object v0
.end method

.method public b(Landroid/content/Context;)Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            ")",
            "Ljava/util/List<",
            "Les/zn0;",
            ">;"
        }
    .end annotation

    .line 11
    invoke-static {p1}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(Landroid/content/Context;)Lcom/ss/android/socialbase/downloader/downloader/g;

    move-result-object p1

    const-string v0, "application/vnd.android.package-archive"

    invoke-virtual {p1, v0}, Lcom/ss/android/socialbase/downloader/downloader/g;->d(Ljava/lang/String;)Ljava/util/List;

    move-result-object p1

    return-object p1
.end method

.method public b(I)V
    .locals 2
    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    if-gez p1, :cond_0

    const/4 p1, 0x0

    .line 4
    :cond_0
    :try_start_0
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->B()Lorg/json/JSONObject;

    move-result-object v0

    const-string v1, "uninstall_resume_max_count"

    .line 5
    invoke-virtual {v0, v1, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method

.method public b(J)V
    .locals 4
    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    const-wide/16 v0, 0x0

    cmp-long v2, p1, v0

    if-gez v2, :cond_0

    move-wide p1, v0

    .line 2
    :cond_0
    :try_start_0
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->B()Lorg/json/JSONObject;

    move-result-object v0

    const-string v1, "uninstall_resume_min_hours"
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    long-to-double p1, p1

    const-wide v2, 0x414b774000000000L    # 3600000.0

    invoke-static {p1, p2}, Ljava/lang/Double;->isNaN(D)Z

    div-double/2addr p1, v2

    .line 3
    :try_start_1
    invoke-virtual {v0, v1, p1, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;D)Lorg/json/JSONObject;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    :catch_0
    return-void
.end method

.method public b(Ljava/lang/String;)V
    .locals 1

    .line 6
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 7
    iput-object p1, p0, Lcom/ss/android/socialbase/appdownloader/e;->l:Ljava/lang/String;

    :cond_0
    return-void
.end method

.method public c()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/ss/android/socialbase/appdownloader/e;->h:Ljava/lang/String;

    return-object v0
.end method

.method public d()Les/xl0;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/ss/android/socialbase/appdownloader/e;->k:Les/xl0;

    return-object v0
.end method

.method public e()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/ss/android/socialbase/appdownloader/e;->j:Z

    return v0
.end method

.method public f()Ljava/io/File;
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/ss/android/socialbase/appdownloader/e;->l:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    return-object v1

    .line 2
    :cond_0
    :try_start_0
    new-instance v0, Ljava/io/File;

    iget-object v2, p0, Lcom/ss/android/socialbase/appdownloader/e;->l:Ljava/lang/String;

    invoke-direct {v0, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    .line 3
    :try_start_1
    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-nez v1, :cond_1

    .line 4
    invoke-virtual {v0}, Ljava/io/File;->mkdirs()Z

    goto :goto_0

    .line 5
    :cond_1
    invoke-virtual {v0}, Ljava/io/File;->isDirectory()Z

    move-result v1

    if-nez v1, :cond_2

    .line 6
    invoke-virtual {v0}, Ljava/io/File;->delete()Z

    .line 7
    invoke-virtual {v0}, Ljava/io/File;->mkdirs()Z
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0

    :catch_0
    move-object v1, v0

    :catch_1
    move-object v0, v1

    :cond_2
    :goto_0
    return-object v0
.end method

.method public g()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/ss/android/socialbase/appdownloader/e;->g:Ljava/lang/String;

    return-object v0
.end method

.method public h()Les/dm0;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/ss/android/socialbase/appdownloader/e;->e:Les/dm0;

    return-object v0
.end method

.method public i()Les/yl0;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/ss/android/socialbase/appdownloader/e;->d:Les/yl0;

    return-object v0
.end method

.method public j()Les/am0;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/ss/android/socialbase/appdownloader/e;->f:Les/am0;

    return-object v0
.end method
